package com.hrm.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hrm.annotation.ExcelColumn;
import com.hrm.enums.AuditStatusEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.sql.Date;
import java.sql.Timestamp;

/**
 * @Author qiujie
 * @Date 2022/4/5
 * @Version 1.0
 */

@Data
public class StaffRoomVO implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    @ApiModelProperty("工号")
    private String code;

    @ApiModelProperty("员工姓名")
    private String name;

    @ApiModelProperty("会议室名称")
    private String roomName;

    @ApiModelProperty("会议名称")
    private String title;

    @ApiModelProperty("会议日期")
    private Date meetingDate;

    @ExcelColumn("会议开始时间")
    @JsonFormat(pattern = "HH:mm", timezone = "GMT+8")
    @ApiModelProperty("会议开始时间")
    private Timestamp startTime;

    @ExcelColumn("会议结束时间")
    @JsonFormat(pattern = "HH:mm", timezone = "GMT+8")
    @ApiModelProperty("会议结束时间")
    private Timestamp endTime;

    @ApiModelProperty("电话")
    private String phone;

    @ApiModelProperty("员工id")
    private Integer staffId;

    @ApiModelProperty("参会部门id")
    private Integer deptId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp createTime;

    @ApiModelProperty("0未审核，1审核通过，2驳回，3撤销")
    private AuditStatusEnum status;

    private String remark;

    @TableField("summary")
    private String summary;

    @TableField("is_upload")
    private String isUpload;

    @TableField("sign")
    private String sign;
}
